@section('content')
<!-- We don't need full layout here, because this page will be parsed with Ajax-->
<!-- Top Navbar-->
<div class="navbar theme-white">
  <div class="navbar-inner">
    <div class="left"><a href="#" class="back link"> <i class="icon icon-back"></i><span></span></a></div>
    <div class="center sliding field-name"></div>
    <div class="right"></div>
  </div>
</div>
<div class="pages">
  <!-- Page, data-page contains page name-->
  <div data-page="field" class="page pb60">
    <!-- Scrollable page content-->
    <div class="page-content">
      <div class="content-block-title field-name"></div>
      <div class="list-block">
        <ul>
          <form action="{{ Input::server('REQUEST_URI') }}" method="post">          
          <li>   
							@foreach($work_scope_list AS $cat_id => $work_scope)
							<label class="label-checkbox item-content pl15">
							<input type="checkbox" name="work_scope[]" value="{{ $work_scope['key'] }}" @if(in_array($cat_id, $sns_group->work_scope))checked @endif>
							<div class="item-media">
								<i class="icon icon-form-checkbox"></i>
							</div>
							<div class="item-inner">
								<div class="item-title">{{ $work_scope['value'] }}</div>
							</div>
						</label>
						@endforeach           
          </li>
          <div class="content-block">
            <div class="row">
              <div class="col-50"><a href="#" class="back button button-big button-fill color-red">取消</a></div>
              <div class="col-50">
                <input type="submit" value="保存" class="button button-big button-fill color-green"/>
              </div>
            </div>
          </div>
          </form>
        </ul>
      </div>
    </div>
  </div>
</div>
@stop